|
by: Kshitij |
last post by:
I have a sortable datagrid,all has bounded columns.
Depending on certain conditions ,i'm changing particular columns header caption on the itemcreated event of the datagrid like this
e.Item.Cells(2).Text ="ABC"
but after setting this the sorting facility is disabling of that particular column
how to do this ?
|
by: metamedia |
last post by:
How do I get a datagrid to register a data change from a custom control cell (combobox)
I've got a Windows Application with a Windows Form Datagrid that has a custom combobox column. When the user clicks on a new row in the datagrid and tries to select or enter a new value in the combobox, the datagrid doesn't seem to register the change, so if the user tabs through the columns and onto the next row, the data is cleared and not saved
Does...
|
by: aaa |
last post by:
I am considering buying LLBLGen Pro for my Windows.Forms application.
I want to use DataGrid control to present data in my database tables.
One of features I rely on is easy data sorting based on different
attributes shown.
In the LLBL documentation I can see that it is not possible to click
DataGrid column header to sort the data. Is it possible to somehow
achieve that kind of operation?
|
by: steven shingler |
last post by:
Hi all,
I've got a datagrid.
I have a function which selects certain rows in a datagrid thus:
public void selectRows(string key, string columnName)
{
int count = 0;
foreach(DataRow dr in ((DataView)dg_aspects.DataSource).Table.Rows)
{
if(dr.ToString()==key)
|
by: ddaniel |
last post by:
I have read many posts and seen many papers on the different
techniques for sort and filtering datagrids. Many do re-queries
against the dB ala Fritz Onion. I am trying to leverage the Dataview.
The following control simply responds to a sort request and/or a
pageing reqeust with an empty table (header only). Any ideas ?
Code behind :
namespace OakTree.data
{
|
|
by: Kuldeep |
last post by:
Hi All,
I have been trying to find some algorithms for datagrid sorting and paging.
Please help
Regards
Kuldeep
|
by: brian_is_online |
last post by:
Hi all,
I have a DataGrid which is bound to a DataView to return search
results. The DataGrid headers allow sorting so when clicked I rebind
the DataView with the appropriate Sort property. To save expensive
database calls, the DataView is used instead of re-querying.
I've now got a problem where if I select a row in the DataGrid, then
sort the column, the position maintained is the same, but the wrong row
is now selected due to the...
|
by: sklett |
last post by:
I've got a new DGV problem that makes no sense. I need to implement a very
simple "row move" operation in a DGV. basically if the user pressed
Shift+Up or Shift+Down the selected row and it's previous or following row
are swapped. This gives the effect of moving a row up or down. I'm
achieving this by swapping the values of a cell (OrderIndex) that the DGV is
sorted on.
Here is the code:
<code>
private void...
|
by: Aaaaash |
last post by:
how can we know which cell has been selected or clicked in DataGrid.
I need to know the current Row And Column of the cell.
|
by: jock1up |
last post by:
I am working with editing within a DataGrid control cell and am confused about which events occur after the editing is completed. I see that 5 events can occur total, including the ones below and AfterColEdit, AfterUpdate.
1. BeforeColUpdate/ 2. AfterColUpdate/ 3. BeforeUpdate or all of these occur?
1. BeforeColUpdate says after editing is completed in a cell, but before dates is moved from the cell to the DataGrid control's copy...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|