[Scilab-Dev] Regarding tooltps in uitable

Rishubh Jain rishubhjain at ymail.com
Thu Jun 9 21:01:32 CEST 2016


Hi,
I have uploaded a raw version of helper page https://codereview.scilab.org/#/c/18231/, I wanted some suggestions. I have elaborated what facilities the enable function provides. The rest of the description of property is kept as it is and I will keep on adding as I commit things. 
Also since I have not commited my tool-tips code yet I had yet another idea which I would like to discuss. 
Presently one has to supply tool-tip value for each cell (even for column header and row header) in single string/matrix form.
-> ut.tooltipstring=["Table","column1","column2","column3","row1","","","","row2"...];
    here the table is of 4x3 matrix.

I was wondering if it will be more convenient if I split it into three different strings. May be like to provide the tool-tips  of just column header
-> ut.tooltipstring=["columnheader","column1","column2","column3"..];    Here columnheader will be a flag indicating that these values are for column

->ut.tooltipstring="columnheader-values";    Here columnheader-values will indicate that for column header the value of cell is the value of tooltip.

Same goes for rowheader where in flag column is replaced by "row"
User could also pass tooltip for the complete Table (including the column header and row header)
->ut.tooltipstring=["Table","tooltip","tooltip"..]    Here Table will be a flag indicating that these values are for complete Table

->ut.tooltipstring="Table-values";    Here Table-values will indicate that for each cell in the table the value of cell is the value of tooltip.

Similar functionality can be provided for the main table data (excluding column header and row header ).
->ut.tooltipstring=["Main","tooltip1" "tooltip2"..]
Will this be useful?
Please give me your opinion on this idea as well as the helper page
Thanking YouRishubh
    On Monday, 6 June 2016 1:40 PM, Rishubh Jain <rishubhjain at ymail.com> wrote:
 

 Hi,
Ya I will make sure the user can insert such symbols as strings as-well, thankyou for the points
Thanking YouRishubh 

    On Monday, 6 June 2016 1:04 PM, Samuel Gougeon <sgougeon at free.fr> wrote:
 

  Le 06/06/2016 02:39, Rishubh Jain a écrit :
  
  I don't use ",",";","[","]" as separators   
 > table_variable.tooltipstring="[a,b,c,d,e,f,g,h,i,k]";
                                 ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
                                 | ----------------- |
                                 |  not separators?  |
                                  |                   |
                                 ?                   ?
                                                                       
 
  and I will make an helper page to show exactly how the user must submit the string and this wont be an issue. I will upload the page soon :)  
 Great. With examples likely different than the former one reminded hereabove
 
 
_______________________________________________
dev mailing list
dev at lists.scilab.org
http://lists.scilab.org/mailman/listinfo/dev


   

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20160609/c9791b25/attachment.htm>


More information about the dev mailing list